import { useResponseSuccess } from '~/utils/response';

export default eventHandler((event) => {
  const bookingId = getRouterParam(event, 'id');

  // 模拟完成服务
  const result = {
    id: bookingId,
    status: 'COMPLETED',
    updateTime: new Date().toISOString(),
    message: '服务已完成',
  };

  return useResponseSuccess(result);
});
